// pages/news/news.js
Page({

  /**
   * 页面的初始数据
   */
  data: {

    // 资讯数组数据
    news_array: [{
        id: 1,
        title: "商谷-香格里拉:6#8#热销中",
        time: "2021-05-10",
        url: "https://img0.baidu.com/it/u=2358439815,1255804914&fm=26&fmt=auto&gp=0.jpg",
      },
      {
        id: 2,
        title: "中南城际中心:预计6月份加推7#大平层",
        time: "2021-05-11",
        url: "https://img1.baidu.com/it/u=1704580244,70784288&fm=26&fmt=auto&gp=0.jpg",
      },
      {
        id: 3,
        title: "绿地锦绣荷东:仅剩少量房源",
        time: "2021-05-12",
        url: "https://img1.baidu.com/it/u=2392544383,1500624873&fm=26&fmt=auto&gp=0.jpg",
      },
      {
        id: 4,
        title: "宿迁吾悦广场:沿街商铺火爆在售",
        time: "2021-05-01",
        url: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimgs.focus.cn%2Fupload%2Fnews%2F10912%2Fa_109117219.jpg&refer=http%3A%2F%2Fimgs.focus.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1623253657&t=7181a6f07c201abc61ecf658fed6d03e",
      },
      {
        id: 5,
        title: "书香水岸:在售楼栋仅剩少量房源",
        time: "2021-05-02",
        url: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimages.zmdfcw.cn%2Fuserfiles%2Fimage%2F20170516%2F161027493cce5394913352_450_340.jpg&refer=http%3A%2F%2Fimages.zmdfcw.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1623253758&t=20f769cba4359910c08cd143afb99843",
      },
      {
        id: 6,
        title: "兰亭锦园:预计6月份加推2#高层3#洋房",
        time: "2021-05-02",
        url: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimgs.focus.cn%2Fupload%2Fpics%2F37164%2Fa_371632201.jpg&refer=http%3A%2F%2Fimgs.focus.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1623253890&t=04fc3397f18827c270f2be432e7756bf",
      },
      {
        id: 7,
        title: "绿城梨园湾小镇:目前在售合院和5#高层",
        time: "2021-05-05",
        url: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimages.hainanfz.com%2FFiles%2Fpic%2FInfoContentPic%2F2016-06-07%2F3fbc20cc-bfc7-4e30-9d0c-3a813935f996_autowaterimg.jpg&refer=http%3A%2F%2Fimages.hainanfz.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1623255635&t=b76bb2c11a037a9b0ce24bb42d7bac9f",
      },
      {
        id: 8,
        title: "新城韵语江山:溯回国风居住本源",
        time: "2021-05-02",
        url: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg01.lanfw.com%2Festate%2Ffz%2Forigin%2F202002%2F03%2F5e383f0963bfa.jpg&refer=http%3A%2F%2Fimg01.lanfw.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1623255749&t=9aecb6fdb83f39b34c4c04da48a9cf87",
      },


    ],

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})